﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace SmartUIBll
{

    public class Member : UIDevCore.IClient
    {
         public Member(int id, string name)
         {
             this.ID = id;
             this.Name = name;
             this.Role = ((int)(name.ToLower() == SysConst.AdminName ? SysEmnus.ERole.Admin : SysEmnus.ERole.Customer)).ToString();
         }
        public int ID { get; set; }
        public string Name { get; set; }
        public string Role { get; set; }
    }
}
